#ifndef NODEAND_H__
#define NODEAND_H__

//include header
#include "Node.h"

//using namespace


namespace npInterpreter
{
    //class forward declaration

    class NodeAnd : public Node // class inheritance
    {
        //friend
        
        //embedded type
        
        public: NodeAnd();
        public: virtual ~NodeAnd();
        public: NodeAnd(const NodeAnd& cpy);
        public: NodeAnd& operator=(const NodeAnd& asn);
        public: NodeAnd(NodeAnd&& mov) noexcept;
        public: NodeAnd& operator=(NodeAnd&& mva) noexcept;
        public: virtual NodeAnd* clone() const;

        //other constructors
        public: NodeAnd(Node* left, Node* right);

        //public methods
        public: virtual string interpret() throw();

        //protected methods

        //private methods

        //protected data

        //private data
        private: Node* left;
        private: Node* right;

        //others
    };
} // namespace npInterpreter


#endif //NODEAND_H__
